package com.ruoyi.word.service;


import com.ruoyi.common.domain.word.CommonWord;
import com.ruoyi.common.domain.word.CommonWordPronounce;

import java.util.List;
import java.util.Map;

public interface ICommonWordPronounceService {

    int saveByWord(CommonWord word, List<CommonWordPronounce> recordList);

    List<CommonWordPronounce> findByWid(Long wid);

    int deleteByWid(Long wid);

    void compensationAll();

    void contentIsNullSave();

    List<CommonWordPronounce> findById(Long id);

    Map<String,Object> doBaiduPull(CommonWord word);

    Map<String, Object> doYoudaoPull(CommonWord word);

    List<CommonWordPronounce> findByWids(List<Long> wids);

    int updateByPrimaryKeySelective(CommonWordPronounce d);
}
